package com.xuzhen.service;

import java.util.List;

import com.xuzhen.domain.User;

public interface UserService {
	public User insert(User user);

	public User update(User user);

	public int delete(String userName);

	public List<User> selectAll();

	public int countAll();

	public User findByUserName(String userName);

	public int countUserByName(String userName);
}
